package org.example.backend.service;

import org.example.backend.dto.AnimalCategoryDTO;
import org.example.backend.entity.AnimalCategory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface AnimalCategoryService {
    AnimalCategory createCategory(AnimalCategoryDTO categoryDTO);
    AnimalCategory updateCategory(Long id, AnimalCategoryDTO categoryDTO);
    void deleteCategory(Long id);
    AnimalCategory getCategory(Long id);
    List<AnimalCategory> getAllCategories();
    Page<AnimalCategory> getCategories(Pageable pageable);
} 